#include "CPoison.h"
#include "CSnake.h"

CPoison::CPoison(const GameBasic& basic) :poisonPosition(basic.defaultPos) {
	
	itemType = ItemType::POISON;
};

Position CPoison::getPosition() const {
	return poisonPosition;
}

void CPoison::OnEat(CSnake& snake) {
	snake.shrink();
}